package com.bosssoft.hr.javase;

/**
 * @Description: HttpFileDownloader测试类
 * @Author: WengYu
 * @CreateTime: 2022/05/16 22:22
 */
public class HttpFileDownloaderTest {
    public static void main(String[] args) {
        HttpFileDownloader httpFileDownloader = new HttpFileDownloader();
        Boolean download = httpFileDownloader.download("http://58.22.61.222:57903/javasexml/user.xml");
        if (download){
            System.out.println("下载成功");
        }else {
            System.out.println("下载失败");
        }
    }
}
